﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace LinkedService.Mobile.ServiceEntities
{
  [XmlType("question-category")]
  public class Category
  {
   #region Constructors
    /// <summary>
    /// Initializes a new instance of the <see cref="Category"/> class.
    /// </summary>
    public Category()
    {
    }

    #endregion

    #region Properties
    /// <summary>
    /// Gets or sets the Code of the category.
    /// </summary>
    [XmlElement("code")]
    public string Code
    {
      get;
      set;
    }

    /// <summary>
    /// Gets or sets the category name.
    /// </summary>
    [XmlElement("name")]
    public string Name
    {
      get;
      set;
    }
    #endregion

  }
}
